/**
 * Project: metacrumbs
 * File: AttachedContent.java
 * Type: AttachedContent
 * Author: unmarco
 * Created: Sep 8, 2011 1:59:42 PM
 */
package org.sensolab.metacrumbs.data.model;

import com.google.appengine.api.datastore.Key;

/**
 * @author unmarco
 *
 */
public interface AttachedContent extends TypedContent {
	
	public static final String MIMETYPE_TEXT = "text/plain";
	public static final String MIMETYPE_HTML = "text/html";
	public static final String MIMETYPE_XML = "application/xml";
	public static final String MIMETYPE_JSON = "application/json";
	public static final String MIMETYPE_IMAGE_JPEG = "image/jpeg";
	public static final String MIMETYPE_IMAGE_PNG = "image/png";
	public static final String MIMETYPE_IMAGE_GIF = "image/gif";
	
	/**
	 * @return location of this attachment 
	 */
	public Key getLocation();
	
}
